def outcontrol(msdfile):
    o = open("%s.gin"%msdfile, 'a')

    o.write("\ndump %s.grs\n"%msdfile)

    o.close()
    
if __name__ == "__main__":
    outcontrol(msdfile)
